from odoo import api, fields, models


class RpMarketingPriceAdjustLevel(models.Model):
    _name = 'rp.marketing.price.adjust.level'
    _description = '调价等级'
    _sql_constraints = [('name', 'UNIQUE(name)', '名称必须唯一')]

    name = fields.Char(string='调价等级', required=True, copy=False, index=True)
    remark = fields.Text(string='备注')
